package com.zhuang.framework.utils;

/**
 * @Classname StringUtils
 * @Description 拼接字符串
 * @Date 2021/4/1 15:21
 * @Created by dell
 */

public class StringUtils {
    private StringUtils(){

    }

    // userDao ==> setUserDao
    public static String getSetterMethodNameByFieldName(String fieldName){
        String methodName="set" +fieldName.substring(0,1).toUpperCase()+fieldName.substring(1);
        return methodName;
    }
}
